package gui;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.*;

public class MainFrame extends JFrame
{
	private JPanel pan = new JPanel();
	private JButton addMedia = new JButton("add new Media");
	private JOptionPane newMediaInfo = new JOptionPane();
	
	public MainFrame(){
		this.setTitle("Library");
		this.setSize(200, 300);
		this.setResizable(false);
		this.setContentPane(pan);
		
		pan.add(addMedia);
		addMedia.addActionListener(new AddMediaListener());
		
		this.setVisible(true);
		
		
		
	}
	
	class AddMediaListener implements ActionListener{

	  public void actionPerformed(ActionEvent e)
	  {
		  // TODO Auto-generated method stub
		  
	  }
	}

	
	

}
